﻿using System;

namespace Itau.IM.Common.Mainframe.Book
{
    [AttributeUsage(AttributeTargets.Class, Inherited = true, AllowMultiple = true)]
    public sealed class BookClassAttribute : Attribute
    {
        public int Length { get; set; }
        public string PrependString { get; set; }

        public BookClassAttribute(int Length)
        {
            this.Length = Length;
        }

        public BookClassAttribute(int Length, string PrependString)
            : this(Length)
        {
            this.PrependString = PrependString;
        }
    }
}
